<?
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
include_once("../controller/detail-type-add.php");
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?php include ROOT_PATH_.'/controller/common/modules/head.php'; ?>
    <link href="../asset/css/css.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        .layui-transfer-box .layui-form-checkbox{margin: 10px 0 0 0 !important;}
    </style>
</head>

<body>

<div id="topbar">
    <?php include ROOT_PATH_.'/controller/common/modules/topbar.php'; ?>
</div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/modules/sidebar.php'; ?>
        </div>


        <div id="content">
            <?php $page_title='新增团体标签';?>
            <?php include ROOT_PATH_.'/controller/common/modules/mod-page-title.php'; ?>

            <div>
                <form class="layui-form" method="post" action="../controller/model/detail-type-add-function.php">
                    <input type="hidden" value="<?php echo $_REQUEST['sys_part']?>" name="sys_part"/>

<!--                    <div class="layui-form-item">-->
<!--                        <label class="layui-form-label">上级分类</label>-->
<!--                        <div class="layui-input-inline">-->
<!--                            <select  name="ai_term_nid"  lay-verify="required" lay-search="" lay-filter="cust">-->
<!--                                <option value="root">无</option>-->
<!--                                --><?php //foreach($root_term_list as $key=>$v){ ?>
<!--                                    <option  value="--><?php //echo $v['nid'];?><!--" > --><?php //echo $v['name'];?><!--</option >-->
<!--                                    --><?php;//}?>
<!--                            </select>-->
<!---->
<!---->
<!--                            <select  name="ai_term_nid"  lay-verify="required" lay-search="" lay-filter="cust">-->
<!--                                <option value="root">无</option>-->
<!--                                --><?php //foreach($root_term_list as $key=>$v){ ?>
<!--                                    <optgroup  value="--><?php //echo $v['nid'];?><!--" label="--><?php //echo $v['name'];?><!--">-->
<!--                                            --><?php //foreach($term_list as $k2=>$v2){
//                                                if($v['nid']==$v2['term_nid']){?>
<!--                                                    <option value="--><?php //echo $v2['nid'];?><!--">--><?php //echo $v2['name'];?><!--</option>-->
<!--                                                --><?//}?>
<!--                                            --><?php;//}?>
<!--                                    </optgroup >-->
<!--                                --><?php;//}?>
<!--                            </select>-->
<!--                        </div>-->
<!--                    </div>-->

                    <div class="layui-form-item">
                        <label class="layui-form-label">团体名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="ai_name" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                        </div>
                    </div>




<!--                    <div class="layui-form-item">-->
<!--                        <label class="layui-form-label">列表排序</label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input type="text" name="ai_listorder"  placeholder="请输入排列顺序，数字越大越靠前" autocomplete="off" class="layui-input" value="0">-->
<!--                            <div class="notice">排列顺序，数字越大越靠前</div>-->
<!--                        </div>-->
<!--                    </div>-->

                    <div class="layui-form-item">
                        <label class="layui-form-label">发布状态</label>
                        <div class="layui-input-block">
                            <input type="radio" name="ai_publish" value="1" title="发布" checked >
                            <input type="radio" name="ai_publish" value="0" title="未发布" >
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <label class="layui-form-label">审核状态</label>
                        <div class="layui-input-block">
                            <input type="radio" name="ai_status" value="正常" title="正常" checked >
                            <input type="radio" name="ai_status" value="申请中" title="申请中" >
                        </div>
                    </div>


                    <div class="detail-box layui-form-item">
                        <div class="layui-input-block function">
                            <button class="layui-btn" lay-submit lay-filter="formPost">立即提交</button>
                        </div>
                    </div>

                </form>


                <br/><br/><br/><br/><br/><br/><br/>
            </div>





<!---->
<!--            <script>-->
<!--                //Demo-->
<!--                layui.use('form', function(){-->
<!--                    var form = layui.form;-->
<!---->
<!--                    //监听提交-->
<!--                    form.on('submit(formPost)', function(data){-->
<!---->
<!--                        return true;-->
<!--                    });-->
<!--                });-->
<!--            </script>-->



            <br class="clearfloat" />
        <!--content端點01-->
        </div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>



<?php include ROOT_PATH_ . "/controller/common/modules/footer.php"; ?>




</body>
</html>
